<template>
  <div>
    <!-- 头部导航栏 -->
    <van-nav-bar
      title="报名页面"
      left-arrow
      @click-left="onClickLeft"
      style="background-color: gray;"
      fixed="true"
      placeholder="true"
    />
    <van-cell-group>
      <van-field v-model="value" label-align="right" label="姓名：" placeholder="请输入姓名" />
      <van-field v-model="value" label-align="right" label="性别：" placeholder="性别" />
      <van-field v-model="value" label-align="right" label="商品类型：" placeholder="请输入商品类型" />
      <van-field v-model="value" label-align="right" label="租赁时间：" placeholder="请输入租赁时间" />
      <van-field v-model="value" label-align="right" label="租赁面积：" placeholder="请输入租赁面积" />
      <van-field v-model="value" label-align="right" label="商铺地点：" placeholder="请输入商铺地点" />
      <van-field v-model="value" label-align="right" label="联系方式：" placeholder="请输入联系方式" />
    </van-cell-group>
    <p style="padding-left: 2rem;font-size: 18px;margin-top: 8rem;">报名要求</p>
    <hr>
    <div class="ask">
      <div class="list">
        <div class="left">
          <van-icon name="info-o" size="25" />
        </div>
        <div class="right">
          <p>姓名必填</p>
        </div>
      </div>
      <div class="list">
        <div class="left">
          <van-icon name="info-o" size="25" />
        </div>
        <div class="right">
          <p>时间必填</p>
        </div>
      </div>
      <div class="list">
        <div class="left">
          <van-icon name="info-o" size="25" />
        </div>
        <div class="right">
          <p>联系方式必填</p>
        </div>
      </div>
      <div class="list">
        <div class="left">
          <van-icon name="info-o" size="25" />
        </div>
        <div class="right">
          <p>商品类型不得为危险物品</p>
        </div>
      </div>
      <div class="list">
        <div class="left">
          <van-icon name="info-o" size="25" />
        </div>
        <div class="right">
          <p>租赁面积不得小于20平米</p>
        </div>
      </div>
    </div>

    <!-- 报名按钮 -->
    <div class="button">
        <van-button type="default" to="" style="font-size: 20px; border: 1px solid #000000;border-radius: 10px;width: 80%;margin: 5rem 0 3.5rem 2.5rem;">确认报名</van-button>
      </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        value: ''
      }
    },

    methods: {
      onClickLeft() {
        this.$router.go(-1)
      },
    },
  }
</script>

<style lang="scss" scoped>
.ask{
  .list{
    display: flex;
    width: 60%;
    height: 25px;
    margin: auto;
    .left{
      margin-top: 1rem;
      margin-right: 1rem;
    }
  }
}
</style>